<%@ page contentType="text/html;charset=UTF-8" language="java" %>


<html lang="zh">
<head>
    <title>支付</title>
</head>

<body>

    <div>
        <h2>该功能正在建设中,点击以下按钮模拟支付完成操作</h2>
    </div>

    <button id="ok">完成</button>

    <script type="text/javascript" src="//cdn.staticfile.org/jquery/2.1.0/jquery.js"></script>
    <script>

        $('#ok').click(function () {

            $.post('/order/pay/paid', {orderId:'${orderId}'}, function () {

                //关闭当前窗口
                window.close();

            }).error(function (err) {
                console.log(err);
            });

        });

    </script>


</body>
</html>